#include <iostream>
using namespace std;

int main() {
    int juli;
    cin >> juli;

    double bikeTime = 27 + 23 + (double(juli) / 3.0);
    double stepTime = double(juli) / 1.2;
    if (bikeTime == stepTime) 
    {
        cout << "All";
    } else if (bikeTime < stepTime) {
        cout << "Bike";
    } else if (bikeTime > stepTime) {
        cout << "Walk";
    }
    
    return 0;
}